import type { Commit } from 'vuex';

export interface SystemState {
  systemInfo: any | null;
}

export type SystemMutations = {
  SET_SYSTEM_INFO: (state: SystemState, value: any) => void;
};

export type SystemActions = {
  SystemInfo: ({ commit, state }: { commit: Commit; state: SystemState }) => Promise<any>;
};

export type SystemGetters = {
  getSystemInfo: (state: SystemState) => any;
};